<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type_name" data-rule="required" class="form-control form-control" name="row[type_name]" type="text" value="{$row.type_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('优惠券到期时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[file]"  class="form-control">
                <option value="0">不修改优惠券（修改即将要“领取,生成”的优惠券）</option>
                <option value="1">未领取的优惠券(只修改已发送的优惠券)</option>
                <option value="2">已经领取,未使用,未过期,的(只修改已发送的优惠券)</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type_money" data-rule="required" class="form-control form-control" step="0.01" name="row[type_money]" type="number" value="{$row.type_money}">
        </div>
    </div>
    <!--div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Use_start_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-use_start_date"  class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true"  name="row[use_start_date]" type="text" value="{$row.use_start_date|datetime}">
        </div>
    </div-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Use_end_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-use_end_date"  class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true"  name="row[use_end_date]" type="text" value="{$row.use_end_date|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_id" data-rule="required" class="form-control  form-control" name="row[goods_id]" type="text" value="{$row.goods_id}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
